﻿using System;
using SharpSqlAnalyzer.pp.processor;
using SharpSqlAnalyzer.pp.stmtformatter.type;
using SharpSqlAnalyzer.pp.stmtformatter.type.comm;

namespace SharpSqlAnalyzer.pp.stmtformatter.builder.comm
{
	// Token: 0x02000222 RID: 546
	public class IfStmtFormatterBuilder : AbstractStmtFormatterBuilder
	{
		// Token: 0x06001275 RID: 4725 RVA: 0x003190BC File Offset: 0x003172BC
		protected internal override void initSpecialProcessorForFormatter(AbstractStmtFormatter formatterArg)
		{
			IfStmtFormatter ifStmtFormatter = formatterArg as IfStmtFormatter;
			ifStmtFormatter.addSpecialProcessor(ProcessorFactory.createCapitalisationProcessor(this.Option));
			ifStmtFormatter.addSpecialProcessor(ProcessorFactory.createCombineWhitespaceAndClearReturnProcessor(this.Option));
			ifStmtFormatter.addSpecialProcessor(ProcessorFactory.createIfStmtBEProcessor(this.Option));
		}

		// Token: 0x06001276 RID: 4726 RVA: 0x003190F6 File Offset: 0x003172F6
		protected internal override AbstractStmtFormatter newInstanceFormatter()
		{
			return new IfStmtFormatter();
		}
	}
}
